
package org.sopt.dev.ImgKnight.monitor.dialog;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;

public class AlertDialog {

	public static void alert(Shell shell, String title, String message) {
		MessageBox dialog = new MessageBox(shell, SWT.ICON_ERROR);
		dialog.setText(title);
		dialog.setMessage(message);
		dialog.open();
	}
	
}
